//
//  FirstViewController.h
//  BangoiOSSDKTestApp
//
//  Created by Development Bango on 12/06/2013.
//  Copyright (c) 2013 Development Bango. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SecondViewController.h"
#import "BGOAnalyticsManagerDelegate.h"


@class BGOProfile;
@class BGOEvent;
@class BGOEventParameter;

@interface FirstViewController : UITableViewController<BGOAnalyticsManagerDelegate, UIAlertViewDelegate>{
    NSString *entityName;
    NSArray *_profiles;    
}
@property(nonatomic, strong) NSArray *profiles;
@property(nonatomic, strong) NSString *entityName;
@property (weak, nonatomic) IBOutlet UITextField *eventNameTf;
@property (weak, nonatomic) IBOutlet UITextField *eventValueTf;
@property (weak, nonatomic) IBOutlet UITextField *eventDetailTf;
@property (weak, nonatomic) IBOutlet UITextField *parameter1Tf;
@property (weak, nonatomic) IBOutlet UITextField *parameter1ValTf;
@property (weak, nonatomic) IBOutlet UITextField *parameter2Tf;
@property (weak, nonatomic) IBOutlet UITextField *parameter2ValTf;

@property (weak, nonatomic) IBOutlet UIButton *liveVideoStartBtn;
@property (weak, nonatomic) IBOutlet UIButton *liveVideoStopBtn;
@property (weak, nonatomic) IBOutlet UIButton *searchBtn;
@property (weak, nonatomic) IBOutlet UIButton *logLevelBtn;
@property (weak, nonatomic) IBOutlet UIButton *onDemandStartBtn;
@property (weak, nonatomic) IBOutlet UIButton *onDemandStopBtn;
@property (weak, nonatomic) IBOutlet UIButton *pageViewBtn;
@property (weak, nonatomic) IBOutlet UIButton *postBtn;
@property (weak, nonatomic) IBOutlet UIButton *idleBtn;
@property (weak, nonatomic) IBOutlet UIButton *resumeBtn;
@property (weak, nonatomic) IBOutlet UIButton *logBtn;
@property (weak, nonatomic) IBOutlet UIButton *exitBtn;
@property (weak, nonatomic) IBOutlet UIButton *resetBtn;
@property (weak, nonatomic) IBOutlet UIButton *clearBtn;
@property (weak, nonatomic) IBOutlet UIButton *errorBtn;
@property (weak, nonatomic) IBOutlet UIButton *viewBatchBtn;

@property (weak, nonatomic) IBOutlet UIButton *logMultipleEvents;

@property (weak, nonatomic) IBOutlet UITextView *viewBatchTV;

-(NSString *) GetUUID;
//actions
- (IBAction)lvStartBtnPressed:(id)sender;
- (IBAction)lvStopBtnPressed:(id)sender;
- (IBAction)searchBtnPressed:(id)sender;
- (IBAction)logLevelBtnPressed:(id)sender;

- (IBAction)odStartBtnPressed:(id)sender;
- (IBAction)odStopBtnPressed:(id)sender;
- (IBAction)pgViewBtnPressed:(id)sender;
- (IBAction)postBtnPressed:(id)sender;
- (IBAction)idleBtnPressed:(id)sender;
- (IBAction)resumeBtnPressed:(id)sender;
- (IBAction)logBtnPressed:(id)sender;
- (IBAction)exitBtnPressed:(id)sender;
- (IBAction)resetBtnPressed:(id)sender;
- (IBAction)clearBtnPressed:(id)sender;
- (IBAction)errorBtnPressed:(id)sender;

- (IBAction)viewBatchBtnPressed:(id)sender;
- (IBAction)logMultipleBtnPressed:(id)sender;

-(void)loadProfiles;

@end
